* {
  margin: 0;
  padding: 0;
}

html,
body,
#app,
.wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: "PingFang SC", "Helvetica Neue", Helvetica, "microsoft yahei",
    arial, STHeiTi, sans-serif;
}

a {
  text-decoration: none;
}

.content {
  width: auto;
  padding: 10px;
  overflow-y: auto;
  box-sizing: border-box;
  flex: 1;
}

.page-wapper {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.container {
  padding: 20px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  transition: all 0.5s linear;
}

.page-wapper .container {
  flex: 1;
  width: 100%;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.crumbs {
  margin: 10px 0;
  width: 100%;
}

.el-table th {
  background-color: #f5f7fa !important;
}

.pagination {
  margin: 20px 0;
  text-align: right;
}

.plugins-tips {
  padding: 20px 10px;
  margin-bottom: 20px;
}

.el-button + .el-tooltip {
  margin-left: 10px;
}

.el-table tr:hover {
  background: #f6faff;
}

.mgb20 {
  margin-bottom: 20px;
}

.move-enter-active,
.move-leave-active {
  transition: opacity 0.1s ease;
}

.move-enter-from,
.move-leave-to {
  opacity: 0;
}

/*BaseForm*/

.form-box {
  width: 600px;
}

.form-box .line {
  text-align: center;
}

.el-time-panel__content::after,
.el-time-panel__content::before {
  margin-top: -7px;
}

.el-time-spinner__wrapper
  .el-scrollbar__wrap:not(.el-scrollbar__wrap--hidden-default) {
  padding-bottom: 0;
}

/*Upload*/

.pure-button {
  width: 150px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  color: #fff;
  border-radius: 3px;
}

.g-core-image-corp-container .info-aside {
  height: 45px;
}

.el-upload--text {
  background-color: #fff;
  border: 1px dashed #d9d9d9;
  border-radius: 6px;
  box-sizing: border-box;
  width: 360px;
  height: 180px;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.el-upload--text .el-icon-upload {
  font-size: 67px;
  color: #97a8be;
  margin: 40px 0 16px;
  line-height: 50px;
}

.el-upload--text {
  color: #97a8be;
  font-size: 14px;
  text-align: center;
}

.el-upload--text em {
  font-style: normal;
}

/*VueEditor*/

.ql-container {
  min-height: 400px;
}

.ql-snow .ql-tooltip {
  transform: translateX(117.5px) translateY(10px) !important;
}

.editor-btn {
  margin-top: 20px;
}

/*markdown*/

.v-note-wrapper .v-note-panel {
  min-height: 500px;
}

/* 虚线 */
.dashed {
  border-top: 2px dashed #dcdfe6;
}

.align_center {
  text-align: center;
}

.color_gray {
  color: #999;
}

.control_bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

/* 外边距 */
.m_s {
  margin: 10px;
}

.m_m {
  margin: 20px;
}

.m_l {
  margin: 30px;
}

/* 左外边距 */
.ml_s {
  margin-left: 10px;
}

.ml_m {
  margin-left: 20px;
}

.ml_l {
  margin-left: 30px;
}

/* 右外边距 */
.mr_s {
  margin-right: 10px;
}

.mr_m {
  margin-right: 20px;
}

.mr_l {
  margin-right: 30px;
}

/* 上外边距 */
.mt_s {
  margin-top: 10px;
}

.mt_m {
  margin-top: 20px;
}

.mt_l {
  margin-top: 30px;
}

/* 下外边距 */
.mb_s {
  margin-bottom: 10px;
}

.mb_m {
  margin-bottom: 20px;
}

.mb_l {
  margin-bottom: 30px;
}

/* 内边距 */
.p_s {
  padding: 10px;
}

.p_m {
  padding: 20px;
}

.p_l {
  padding: 30px;
}

/* 左内边距 */
.pl_s {
  padding-left: 10px;
}

.pl_m {
  padding-left: 20px;
}

.pl_l {
  padding-left: 30px;
}

/* 右内边距 */
.pr_s {
  padding-right: 10px;
}

.pr_m {
  padding-right: 20px;
}

.pr_l {
  padding-right: 30px;
}

/* 上内边距 */
.pt_s {
  padding-top: 10px;
}

.pt_m {
  padding-top: 20px;
}

.pt_l {
  padding-top: 30px;
}

/* 下内边距 */
.pb_s {
  padding-bottom: 10px;
}

.pb_m {
  padding-bottom: 20px;
}

.pb_l {
  padding-bottom: 30px;
}

.f_1 {
  flex: 1;
}
.d_f {
  display: flex !important;
}
.f_r {
  flex-direction: row !important;
}
.f_c {
  flex-direction: column !important;
}
.j_s {
  justify-content: space-between !important;
}
.j_c {
  justify-content: center !important;
}
.a_c {
  align-items: center !important;
}
.t_c {
  text-align: center;
}

.el-dialog__header {
  /* 霞彩 */
  background-image: linear-gradient(to right top, #ec008c, #6739b6);
  /* 惑紫 */
  /* background-image: linear-gradient(to right top, #9000ff, #5e00ff); */
  /* 靛青 */
  /* background-image: linear-gradient(to right top, #0081ff, #1cbbb4); */
  /* 鎏金 */
  /* background-image: linear-gradient(to right top, #ff9700, #ed1c24); */
  /* 魅红 */
  /* background-image: linear-gradient(to right top, #f43f3b, #ec008c); */
  /* 柳青 */
  /* background-image: linear-gradient(to right top, #39b54a, #8dc63f); */
}

.el-dialog__header .el-dialog__title {
  color: #fff;
}

.el-dialog .el-dialog__body {
  max-height: calc(92vh - 140px);
  box-sizing: border-box;
  overflow: auto;
}
.el-dialog .el-dialog__footer {
  border-top: 1px solid #f5f5f5;
  /* background-color: #f5f5f5; */
}
/* element-ui使用中出现黑色边框, 在对应的容器上加如下样式 */
.without-outline:focus {
  outline: none;
}

/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
  width: 10px;
  background-color: #f5f5f5;
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  /* -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);   */
  background-color: #cccccc;
}

.xTable .vxe-body--row.row-checked {
  background-color: pink;
}

.full_screen {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  border-radius: 0;
}

.icon {
  width: 1.2em;
  height: 1.2em;
  color: #666;
}

.search_bar {
  display: flex;
  /* margin-bottom: 10px; */
}

.search_bar .left_search {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
}

.search_bar .right_search {
  /* margin-left: 20px; */
}

.filter_item {
  display: inline-flex;
  align-items: center;
  margin-right: 20px;
  margin-bottom: 10px;
}

.filter_item .label {
  line-height: 32px;
  color: #333;
  font-size: 14px;
  white-space: nowrap;
}

.table_options_bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.v-contextmenu-item {
  display: flex;
  align-items: center;
  padding-left: 40px !important;
  position: relative;
}

.v-contextmenu-item .icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

.nowrap {
  white-space: nowrap;
}
